package javax.mail.search;

public abstract class ComparisonTerm extends SearchTerm {
    protected int comparison;

    public boolean equals(Object obj) {
        if ((obj instanceof ComparisonTerm) && ((ComparisonTerm) obj).comparison == this.comparison) {
            return true;
        }
        return false;
    }

    public int hashCode() {
        return this.comparison;
    }
}
